﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections;
using Hydra.Shell.Interfaces;
using System.Collections.Generic;
using System.Reflection;

namespace Hydra.Shell.Exceptions
{
    public class ServiceAvailableButNotLoadedException : Exception
    {
        public IQueryServiceProvider QueryServiceProvider { get; private set; }
        public List<Type> Dependencies { get; private set; }
        public ConstructorInfo Constructor { get; private set; }

        public ServiceAvailableButNotLoadedException()
        {
        }

        public ServiceAvailableButNotLoadedException(IQueryServiceProvider queryServiceProvider)
        {
            this.QueryServiceProvider = queryServiceProvider;
        }

        public override string Message
        {
            get
            {
                return "Service available but not loaded";
            }
        }
    }
}
